package com.googlecode.bip.entity.impl;

import java.io.Serializable;
import com.googlecode.bip.entity.IReferentReferentView;

/**
 * Referent object : user {@link com.googlecode.bip.entity.Role#BIP_REF} (read write)
 * <p>
 *  To create an {@link IReferentReferentView}, use {@link com.googlecode.bip.dao.ReferentDAO} 
 *  and the use {@link ReferentReferentView#ReferentReferentView(Referent)}
 * </p>
 * @author Claude CHOISNET
 */
public class ReferentReferentView
    extends Referent
        implements IReferentReferentView, Serializable
{
    private static final long serialVersionUID = 1L;

    /**
     * Create a none initialized {@link IReferentReferentView} object
     */
    public ReferentReferentView()
    {
        //empty
    }

    /**
     * Create a shadow copy of giving {@link Referent}
     *
     * @param o UserReferent to clone
     */
    public ReferentReferentView( final Referent o )
    {
        super( o );
    }

    @Override
    public void setIdReferent( int idreferent )
    {
        super.setIdReferent( idreferent );
    }

    @Override
    public void setReferentName( String referentname )
    {
        super.setReferentName( referentname );
    }

    @Override
    public void setReferentDescription( String referentdescription )
    {
        super.setReferentDescription( referentdescription );
    }

    @Override
    public void setUserName( final String name )
    {
        super.setUserName( name );
    }

}
